Added gravity and terminal velocity.

Also started work on checking tiles for collision.
Rudimentary (broken) collision detection.

Need to check X and Y separately to properly get at movement.