Added Random extending class

This eliminated the negative value returned by _randomNumberGenerator