Solve problem 11 using Rust.