Added way to win game, fixed collision detection

The basic game is done.