my answer to the code eval problem involving sum of integers from file