ex6.7 - update intsWithSequence to use Rand type alias