Adding utils.c and header file