Added if constructs
Ignore whitespace before expressions
car had a bug where whole s-expr is being car'ed instead of list
Added some basic error checking and printing