Prime Palindrome solution completed