add percentC study training tree generation script