First iteration of Point Mutations in Python
Use a generator for memory efficiency
Refactored to use reduce with an accumulator
Use Clojure's pipeline special form to improve readability