A program the shuffles a deck until the initial state is matched