attempt to implement this chess engine in Rust