Added Problem 18

Initial commit for problem 18