adding createRandomNumbers Method