Add function to print distance population