extended diff and implmented diff:print

fixed error in commit.c
implemented find_similar

options are not implemented yet