A pea plant with purple flowers was crossed with white flowers producing all 50 plants with only purple flowers. On selfing, these plants produced 482 plants with purple flowers and 162 with white flowers. What genetic mechanism accounts for these results? Explain.