Solve problem 14 using Rust.