minimax move-making function

You can play the game against minimax CPU!