solve rspec error by creating the tic tac toe class in the lib folder