Collision Detection update

The collision detection now works partially. It does'nt hit walls but
can leave a ghost player after himself when bumping into the walls.