First piece of program: evaluating GP tree