Evolutionary theory: introduction and examples