pub fn right_pad_vec<T>(x: &mut Vec<T>, len: usize, pad: T)where T: Copy,
Right pads a vector to a certain length in place
x
len
pad