Fixed #17 add function iterator(...) to replace range(...)