Implemented car, cdr, and cons in C