Compliment Generator: modified use of random functions