Rectangle Object velocity vectors added

replaced 'direction' with velx and vely to represent the velocity of the
rectangle in those directions. updated drawing and physics sections to
deal with this. rectangle still not bounded by canvas (bug)