Clean up week 3 grading code so that it compiles.