Added Problem 18 Solution