Gregor Mendel and heredity