Implementation of some evolutionary algorithms