Added a new method for the question "array - height of binary tree"