Initial commit.
Completed code.
Tested with a few strict palindromes and normal text and it works fine.