This is a java class (and its associated test class) that scans a directory and returns a bunch of information about the number of sub-directories and such