Exercise 1.6 - complete (modify defprimitive to allow functions with unspecified arity)