tic tac toe project built using ruby on rails. The machine has to always win