Fixed bugs with mastermind and tic tac toe