Implemented print indentedTree function