implemented many-to-one relationship between student and grade