Update PalindromeCheck.py

Fixed a mistake in editing.