Adding grades for homework 4