ARI function

Adjusted Rand Index (ARI)