Update DepthOfInheritance.php
Update DepthOfInheritance.php

added cause for compability
Update DepthOfInheritance.php

Implemented TryCatch for OutOfBoundsException
Update DepthOfInheritance.php
Update DepthOfInheritance.php
Merge pull request #152 from sebbrandt87/master

Update DepthOfInheritance.php