Solved problem 23
Solved problem 24
Solved problem 25