First step in spearman's rank calculation

Since the final scores may not be fully ranked (in case of ties!), the
"hard" version of Spearman's rank formula must be used.
This is the first necessary step: averaging out the ranks of ties
scores.
Separated out helpers into 2 files

helpers is now more appropriately named: common_helpers

All stuff to do with calculating rankings is in a new file