tictactoe.rb added for final