committing palindrome checker