different functions for displaying all alphabets in list and dictionary