Added tanimoto distance from book.
Corrected for loop syntax.
Merge pull request #1 from clemenshelm/patch-1

Added tanimoto distance from book.