Adding a method that calculates the height of an arbitrary binary tree.