replaced tree functions with correct ones
Merge branch 'master' of https://github.com/rolivia/OS-Project