Added Rect, Car class, improved drawpipe

Added a rectangle class.
Added a car class.
Improved the draw pipe clas by adding more methods.
Fixed little bugs.