Adding tic-tac-toe board functionality