implemented get hight method with tests
modified getBreadth, it is now recursive method