alphabetical_substrings.py