Remove unnecessary string casting
Clojure solution for problem 2