Working HW 7 - tic-tac-toe