Update palindrome partitioning.java