Added a function to check whether a tree is balanced or not.
Merge branch 'master' of github.com:uShadow/scratchpad