Added range functions to iterator