Actually adding randomgenerator code now.