Revert "add ValidPalindrome"

This reverts commit bc2414bd076d09579d9b0aa928c882cab37d957a.