Implemented positive integer generator