Changing README, adding some testcases, making distance vector customisable