Some examples of what to use the reduce function for [1]