Adds Square and fleshes out LineSegment

Needs further testing