added ex2-04 answer.