Longest Palindromic Substring | Set 1 (http://www.geeksforgeeks.org/longest-palindrome-substring-set-1/)