code to create shopping list