changed movement properties

I made the square unable to move outside the game window!