Added my version of pyTree based on the yoyzhou version.