edited algorithm to control map collisions.

need to redo graphics and to add more tiles :D