Add handling for space key

Right now makes space key teleport you to a random x coordinate.