read file line by line in rust and assign it to vector of integers (only valid for integers)