Updated assignment-6, moved the processing of grade and credit inputs into its own method