Create generateRand3or7.c