Handle invalid Lisp expression parsing | Uber Interview Question