Added 19.
Fixed off-by-one error in 19.

Rust's `scan()` method doesn't yield the initial state.