Added basic functionality of printing, the tree can be filled from file and from console