Using random module from Rust