add some comments in lcs.c