Messing with iterators in Julia