Made menu items hierarchal

Added addToTree & growBranch to build navigation branches recursively.
Note: remove failed function buildBranch