changed the depth to 5 for the minimax tree