Implemented basic treeToInput
Merge pull request #61 from tgrrtt/develop

Implemented basic treeToInput