Finding the Distance between Two Points