Creates an array from initializing variable
Takes an initialzing input and creates an array