added python code to calculate similarity and initial draft in go