initially get a 'shopping list' via a prompt and split the string into an array