ms pacman Ai using min max , doesn't really work