Introduction to genetic algorithms