implementation of expectimax, alpha-beta pruning, and minimax algorithms in a game of pacman