Implement basic jumping.

This implementation is fairly naive and could use improvement in the
future. The main problem is all of these "magic numbers" that depend on
each other (the strength of the jump depends on gravity), so it may take
some work to get that just right.