ex5_10 done