moved tictactoe.rb into lib directory