implement solution to find maximum number of colinear points on a plane