Use standard C function rand