Add class generator_iterator
Implement tokenizer with generator_iterator