Update folderCheck.py

moved result = build_dict() into main(), added a docstring to main(), and added a check for folders without tiffs that writes those directories to a text file.

Also added instructions on how to see the errors on the console, e.g. print "cat naming_errors.txt to see folders with problems"