OOP version of the tic-tac-toe command line game