Wdiff implementation in Rust