Added tree creation and printing tree
Added pmap