Calculating the Sum of a List of Numbers