Very bad collision detection implemented.
A little less horrible implementation of the collision detection and movement in the tile map.
Very basic mechanics.