Manish | Adding function for getting length starting from a given pair in the palindrome