Remove switch statement in draw function

The draw function for each shape constructor has been moved to is
prototype