added tree render
Merge pull request #23 from patrickdmccarthy/recursion

added tree render