fixed a bug in restarg-handling in define method; still need to fix a printing bug in functions that have restargs; added representation for table args, but still need to modify apply to handle them correctly