Extract puyo sequence generator, and make it AC-version generator.