Rust: Problem 1 - refactor to use filter & sum