Implementation of the White Similarity Algorithm in C