Python program that generates a random text file - user inputs number of lines/characters and whether digits/specials are allowed