example_4.cpp   Change random number generation to include a modulo