Add exercise 2 (Validator)