Add keyboard control. Collision detection still buggy.
Partial fix for the collision bug.

Can collide and bounce with one obstacle with drag. Haven't tested yet
with multiple objects and on corners.
Fix the collision bug allowing the ball to penetrate the objects

While iterating through the edges, the edge defined by the last point to
the first point was not checked.