chandan's submission of Palindromic substrings | CodeChef