Add examples for exercise 3 in homework 3.