Added solution for problem 22
Added solution for problem 23