added OO tic-tac-toe