Learn a solution in GP by implementing a problem