Renamed Vector class to Line class and worked on Line class