Reduce duplication in verses, extracted logic to BeerVerse.

I actually think this version is a little bit harder to read and
reason about than the simpler one with the loop and the slightly
more duplication in the verses. We'll see what people think.