bob: Simplify exercise with functional solution

Closes #75.