assignment2 add ex 15 and 16