Text this: A computer algorithm to determine optimal link redundancy of complex network /