Genetic programming via stack machine all in Python