Implemented ipairs, pairs and next iterators.