add DistanceCalculator.java for calculating the distnace between two
position