solved problems 11, 13 and 16
solved problem 14
solved problem 12