Count the characters
Write a simple tail-recursive function to count the number of occurrences of a character in a given string.
Input:
a
Mary had a little lamb
Output: 4
Your submission should be named rollNumber_lab6_3.tar.gz with the folder named countchars, which should have the file: