Add problems for ex5.