Judging automation - calculate and display total scores
Updated the check_projects_scores function so If all the projects were scored, it calculates the total score for each team, sorts the teams by scores and renders final_score.html with the score table.
If all projects weren't scored, it renders final_score.html without the score table.