Solved problem 18
Solved problem 19
Solved problem 20
Solved problem 21
Solved problem 22