Added Problem 24 Solution