Very rough first attempt at a Rust implementation.
Fix some comments in the Haskell version.
Some beginnings of a rust implementation.