Added the CustomGenerator01 data constructor for generating random numbers from 0 to 1.