Added basic tree creation and printing