Recursion - Directory Tree Printer

An algorithm to print out a directory tree for a given directory or
file.