Added support for functions

car and cdr work. Still need to add full support for the other
functions. This should be enough for now.