work done in class 10-28 and refactor of TicTacToe