Implementation of the bitap algorithm in Rust. The code may be kinda rough because this is some of the first Rust I've written!