Basic collision detection for player

Collision detection works everywhere except the crossover between the
start and end of the 64x32 screen (i.e. 30 -> 31 works, 31 -> 30 doesn't
work for those tiles which are immediately behind the player). Pressing
up jumps to the top of the screen, for testing purposes.