Changing the way random values are selected from array

Signed-off-by: Travis Hyyppä <travishyyppa@gmail.com>