New file utils.c, for string/array processing. Documenting exhisting code.