pub fn are_any_factors<I>(num: I, queries: &[I]) -> boolwhere I: Int + Copy,
Check if any of the queried values are a factor of num.