merge_table.pl: Added information on weight of each test in HTML and range of final scores. All the grades are integers between 0 and 640 now. Fixed a bug on check if a student did the last exam (it was never tested condition on elsif).