add Randomnumbergenerator solution.