pseudo random number generation, monomer and polymer classes, histogram and enhanced histogram class