check next cell before pacman move