Lisp implementation in Scala