code restyling
print progress achieved at the end of the file
output time taken when done