- changed to idiomatic clojure and some smaller style corrections
update example to idiomatic clojure