added Problem 18 WIP