added pointers.c, almost finished