Add solution of Prime Palindrome problem in java and python