alphabetical pattern program in python