Made tree functions from Julians code, changed alot sorry
Merge branch 'master' of https://github.com/jibbs00/cmpt355project2-eric-julian-michael