Algorithm for generating random numbers from 1 to 7 given a random number
generator that generates random numbers from 1 to 5.