implemented methodtreebuilder (some deficiencies, such as not checking
for cycles), which incorporates assembling a tree of MethodNodes
when given a iMethod