runlength

toy run-length encoding implementation in Python and Rust

note: it's quite inefficient since the window size is only 1, and i didn't track how much memory my rust code allocates