Added plus coroutine, and easier to understand multiradix gray.