a simple and easy class to calculate Spearman's rank