Python script for generating random text strings