Erlang lists module implementation in lisp