Tausworthe random number generator in C. Adapted from Robert Swendsen's C++ implementation.