Simple matrix manipulation using Clojure core.logic