Random Integer Function

This function creates and outputs a random number within a range after
it's stored in a variable.