Leet Code answer to ‘Two Sum’ problem, written in Rust