Prime Palindrome | Leetcode #866