Not Pacman clone in python