exercism 1.8.2

Closes #164.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>