Added solution for problem 022