A utility function to youngify a Young Tableau . This is different from standard youngify . It assumes that the value at mat [ 0 ] [ 0 ] is infinite .
static void youngify ( int mat [ ] [ ] , int i , int j ) {