making an array of distances
  Please enter the commit message for your changes. Lines starting