toLisp function

For printing in lisp style