the 1st commit
add README
rename distance.c
README
distance code format.
memory leak fix.