Added a sample for the gametree function