Move CollatzIterator and friends to their own module