Various algorithms implemented in Rust, for fun.