Folder
{
int id;
List subfolders
}
given a structure like this print the path from the leaf subfolder to root . and all such paths given a directory.
follow on: how do we print given a list of directories,(print from root to leaf here given any intermediate directory)