merge_table.pl: Included calculation for final grade in the last column of html table.