pub fn generate(secret: &[u8], n: usize, k: usize) -> Vec<Vec<u8>>
This function generates a polynomial with the given secret, passed as bytes.