similarity commputation in C