pub fn safe_div_usize(x: usize, y: usize) -> Result<usize, MathError>
Performs integer division between x and y; fails if x is not divisible by y.