Create beer-bottles-as-assigned

I did this as a 'while' loop first, but the assignment said to use range. So I did. I'm posting both.