finished kata 2, inspired by 'Clojure Programming' book