added specs for line comparision
added line comparision
optimized equality function
added the class coordinate and method ==
integrating coordinates class