N- ary tree done nearly