Assigning rank and index values to first suffix
rank = 0 NEW_LINE prev_rank = suffixes [ 0 ] . rank [ 0 ] NEW_LINE suffixes [ 0 ] . rank [ 0 ] = rank NEW_LINE ind [ suffixes [ 0 ] . index ] = 0 NEW_LINE