also includes lineOnLine to determine if a line is on another line. Added a new type line struct which consists of two points.
should be valuable to know what distance between two points is. Also added testing
defined what a rectangle is and also implemented IsRect(), which returns a bool whether the coordinates given make a rectangle or not. Tests were written for IsRect()