Added functions to print indented tree