minor modifications to problem and tic_tac_toe