added the scoring part for activity 1 & 2