Tyler Breland: DataScience solution

Prefer `inject` over `reduce`.