Mars Rovers IV: The Solutions — Emacs Lisp

Having solved it in Clojure, I couldn't resist inviting Emacs Lisp to the party.