Project Euler stuff in Rust