function to genererate all thumbnails for images in source folders staring from a provided dir
Merge pull request #4 from sumocoders/generate-thumbnails

generateAllThumbnails