switched to "Revealing module" pattern
added Vector2D
Bouncing ball with vectors