unfinished p2_1 and solution for finding sets of 3 collinear points
problem 2.1 memory inefficient