Adding solution for problem 23.
Adding solution for problem 24.
Adding solution for problem 25.
Adding solution for problem 26.
Adding solution for problem 27.
Adding solution for problem 28.
Adding solution for problem 29.