Added copyright header to util.c