Simple program from sorting and renaming files with different algorithms