Improve Palindrome space usage
Refactoring names for clarity and adding some more test cases