add object.c file for ex19