Update rename_X_files

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