added collision, pause, resume, endGame methods. there are still bugs
that need to be fixed, but the primary logic is there