https://medium.com/@CleytonBonamigo/mastering-the-depth-understanding-and-calculating-the-maximum-depth-of-binary-trees-in-php-633a7ad5a053