Added algDisplay for the tree