Player can jump higher if key is pressed longer

The player can now jump different heights depending on how long the key
is held.