levenshtein algorithm >10x faster

Not to mention way easier to read.

New palindrome function is ~2x as fast and much simpler