get_inventory() functional

Now returns good lists of folders, files, and links found within a
specified target directory.