Added spacing and comments for readability.
Prolog script to sum all the numbers in a list.

This corresponds to the fourth task in the assignment.