Added random number generator

Still needs some testing, but a high-end RNG is in place in the tools
directory.
Split off utils/ from tools/

tools/ now contains code that is *used by* the library wrappers,
whereas utils/ contains higher-level code that *uses* the library
wrappers.
Sudoku progress; other fixes.