Minor formatting changes
Added check on lambda to avoid segfault, now checks that arguments are passed in as a list, perhaps if there is only one argument then it could be given as (lambda x ...) instead of (lambda (x) ...) but not for now.