Creating arrayset and array.