fn sum_prize_costs(machines: &Vec<Machine>, offset: i64) -> i64
Use Machine::get_cost_for_prize to get the total cost over all valid machines
Machine::get_cost_for_prize