Solution Problem 18 initial commit
Solution to Problem 18 complete