Program to find the length of the string