Added creating a random array