Create palindromepart.cpp