Easier way to sum a list of integers - Modular