Use the right order of args in elixir list-ops reduce

The function passed to reduce should take args `element, acc`, not `acc,
element` to be consistent with `Enum.reduce`.