moved player-code to platformer.Player class
fixed jumping