Update assn4.php

to include grade calculation