Update functions.php

Included open ended question grading