An introduction to modern genetics