Added iter_to_vec conversion fn