Nearly finished

TODO: heap; format word; fix tree's top 10 words