
fn run(contents: Vec<&str>, solver: &dyn Fn(Vec<&str>) -> Result<i64, Box<dyn std::error::Error>>) {
    match solver(contents) {
        Ok(answer) => println!("Answer: {}", answer),
        Err(problem) => println!("We got a problem: {}", problem),
    }
}

fn main() {