input: Write a python function to calculate the distance between two points in 2D space.
  assert Point(0,0).distance_to(Point(3,4)) == 5.0
  assert Point(1,1).distance_to(Point(4,5)) == 5.0
  assert Point(2,3).distance_to(Point(2,3)) == 0.0
output: import math
  
  class Point:
      def __init__(self, x, y):
          self.x = x
          self.y = y
  
      def distance_to(self, other):
          return math.sqrt((self.x - other.x) ** 2 + (self.y - other.y) ** 2)