A sample function which has a string as parameter and return a hashtable containing each character as **key** and the frequence of each character as a **value**.