finished getLargestBSTSubTreeSize and isSubTree