What was Mendel's contribution to heredity ??