a chess problem that I solved in Clojure to get my last contract