Update rename_files

Redirected both output (stdout) and errors (stderr) to Assignment.log file