Homework assignment 1 for CS210 - Lisp programming