Moved Hierarchy function as Helper
Merge branch 'master' of https://github.com/BBackerry/COMP353