finished tictactoe.rb without error checking