Palindrome Partitioning - Medium Python Backtracking Interview Problem | Unnested