adding notes on clojure implementation of reduce and early termination