import math
class Point
public
func Point(x: float, y: float)
this.x = x
this.y = y
func distance(a: Point, b: Point): float
float x_distance = Math.abs(a.x - b.x)
float y_distance = Math.abs(a.y - b.y)
return Math.sqrt(x_distance ** 2 + y_distance ** 2)
private
this.x: float
this.y: float