Shogun interview question

Refactoring exercise in a paired programming style