Added comments, changed method names.
Changed collisionDetection to proximityDetection and checkCollision to
collisionDetection.