Changed physics

It now works. Will soon add a module allowing you to set the size of the
hitbox of a tile. This will make it better to handle physics.