A working rndGen can be obtained by using a struct to wrap the RNG.
Should check for non-null cast result in opEquals.
Linear Congruential Engine in final class form.