simple program to count the occurence of each letter in a word in C