added ability to find all points on a line given two points. Implemented function to find distance given two points.