Controlling a sprite with the keyboard