tictactoe part 1-3,4