beer.py version 2