Completed OOP version of the tic-tac-toe game