Refactor of physics into helper functions for wall collision detection.
My ball is a bouncing off the walls.