Introduction to heredity