updated make arrays and objects function to allow user to create objects or arrays from the attributes they input.