Why don't you work!?!?

AI gets stuck mid path, while moving and pacman does not die when in
contact with ghosts. something went wrong. I don't know what. The
collide method just does not handle ghosts and pacman collisions for
some reason I can not fathom