This function returns the maximum length of the sub - string ( of even length ) which can be arranged into a Palindrome
static int maxPal ( String str , int start , int end , HashMap < Integer , Integer > count ) {