First commit.
Added checks to output correct grade.