fixed functions to print tree and add nodes
Merge branch 'master' of https://github.com/rolivia/OS-Project