Added solution for Problem 25