working sum of ints from file rb soln