How to Implement a Random String Generator With Python