added integer rand function by reading a bunch from urandom and storing