Changed solution to problem 46 to be able to use Clojure's implemenation
of and and or