https://practice.geeksforgeeks.org/problems/palindromic-patitioning4845/1