prefix_normalized_similarity function

Calculate the normalized prefix similarity between two strings