Wrote create_grading and its unit test.
Passes unit test and also works in the console.