classifier implementation, calculating distance from beginning ranker
Merge pull request #11 from hubert667/Hubert1

classifier implementation, calculating distance from beginning ranker