Grabbing last last_submissions creating history.txt
compute working handling missing files. and some comments.
comments and indentation for readability. of submission_root