Added arc-utils.c and arc-utils.h for utility functions.
Added arcRand to arc-utils.c.