Learning algorithms by translating them into Clojure