Created getDistanceBetween method