Makes the player move when using the keyboard