Added validation to the assignment class