add an option to choose how to link code fragments
[minor change] add a function to print the modes of hash calculation, similarity calculation, and fragment link