Largest palindrome from string working

Odd bug does exist but the function does return the largest palindrome
possible from a block of text!
Debugging specific case of enclosing check

Seems that the iteration is oversteeping the ends of the string.
Fixed iteration bounds bug.