Write two functions:
The resulting array should be sorted in lexicographic ascending order (same order as a dictionary).
get_vowel_substrings("apple")
➞ ["a", "apple", "e"]
get_vowel_substrings("hmm") ➞ []
get_consonant_substrings("aviation")
➞ ["n", "t", "tion", "v", "viat", "viation"]
get_consonant_substrings("motor")
➞ ["m", "mot", "motor", "r", "t", "tor"]