You have a function rand5() that generates a random integer from 1 to 5.
Use it to write a function rand7() that generates a random integer from 1 to 7.
Note:
rand5() returns each integer with equal probability.
rand7() must also return each integer with equal probability.