added uniform number generator class