A diagram that predicts the outcomes of a genetic cross