fn group_by<T, F>(source: &IntMap<i32, T>, key_fn: F) -> IntMap<i32, Vec<T>>where T: Clone, F: Fn(&T) -> i32,