Solving project euler problems in rust