added ex2-07 answer.