Created method to calculate factorial of an integer
Created method count_by_type in String class

This method is used to calculate the count of lowercase, uppercase, integers,
and special characters in a string.