A Mersenne Twister implementation in C