Develop a program for distance between two points