Create isValidPalindrome.cpp

compare c++ and python implementation