Basic Genetic Programming implementation