added some code for generating tree with stanford parser for later use