change arrayList and localStorageList inheritance

Both list types inherit from the pure virtual class shoppingList.