fixing hw1 grade error