Fix bug in board
Working Minimax