Defined number of nodes in top of file.
Added printing of tree.