Fixed generate_nested_list's recursion

It originally was made to show a node's children, and the childrens'
children recursively. This meant that the Tree didn't show the first node.
Now it shows a node, and its children and childrens' children recursively.