Adding ex5_6 homework