improved MiniMaxAI, grid missunderstanding solved