Using SystemRandom() rather than os.random