added topic tree method and updated README
tests coverage 93%, most tests passing