Add copyright notice in file headers.
random: Store random number generator state as a struct.
Warning--