add naive palindromePartitioning class