program to print the characters frequency