home work 3

http://coursera.cs.princeton.edu/algs4/assignments/collinear.html