Generate a random number

Create a procedure to generate a random number with size equal to 9