Stores relative frequency of the characters { ' a ' , ' b ' , ' c ' , ' d ' }
Dictionary < Tuple < Tuple < int , int > , Tuple < int , int > > , int > mp = new Dictionary < Tuple < Tuple < int , int > , Tuple < int , int > > , int > ( ) ;