refactored the loop in drawLine, and commented Code
more Comments added to the Curve Classes