cmpsci220.hw
Given a list of pairs that represent (x, y) coordinates, tries to fit the points to a line.