groovy

Issue with incrementing array when using Random number generation