I\'m looking for a function with the signature fn product(vector: &Vec, n: &i32) -> Vec> or similar, such that for ex
fn product(vector: &Vec, n: &i32) -> Vec>