Fundamentals of genetics