Working code with MinMax implemented for TicTacToe.Handles all conditions with command line input