https://codeanddebug.in/blog/palindrome-string-recursive-iterative-solution/