Playing around with some genetic programming stuff in Python