This function returns the maximum length of the sub - string ( of even length ) which can be arranged into a Palindrome
int maxPal ( string str , unordered_map < int , int > & countt , int start , int end ) {