How generators pause and resume

Each next() resumes at the saved program counter. Both versions yield 1, then return 5.