exercism 1.7.2

Closes #151.

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