Move helpful functions to src/utils.c
"-Wall --pedantic --std=c99" options added