function to delete a list of decks