Computes how similar 2 strings are