similarity algorithm updated for program
similarity algorithm finished for program
complete the analysis function by tf-idf theory