#3 code formatting
#3 correct loading of index and offset files
+ avg distance at top N
+ avg distance at top K