program that randomly splits all files in directory into subdirectories