Converting FunctionTrace from C to Rust

Solving Advent of Code 2021 with Rust before Python can start

Quickly optimizing Python code with FunctionTrace