Add random number generator.

C++ implementation of mersenne twister, capable of generating booleans,
doubles and 64-bit integers.