Doing another painful irrelevant code question about inheritance and blood types and came up with this
Given
/**
* @param parent1 The phenotype of the first parent (A, B, AB or O)
* @param parent2 The phenotype of the second parent (A, B, AB or O)
* @param child The phenotype of the child