Graph structures and algorithms written in Rust