Wrote code to generate similarity graph and normalize it.