Added new functions for generating random double words and words, and added support for 32-bit systems (i.e. 30-bit integers). This commit closes #1.