99 Bottles of Beer. Chapter 7, problem 1