updated readme for distance with an example