<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def dist(self, point):
 """ Squared distance between the current Node and the given point """

        r = range(self.dimensions)
        return sum([self.axis_dist(point, i) for i in r])