added a grade calculator