Added end of map collision detection

Now the player can't walk off the screen.