input: Write a python function to calculate the distance between two points.
  assert calcDistance([0, 0], [3, 4]) == 5.0
  assert calcDistance([1, 1], [4, 5]) == 5.0
  assert calcDistance([2, 2], [5, 6]) == 5.0
output: def calcDistance(point1, point2):
      return ((point2[0] - point1[0]) ** 2 + (point2[1] - point1[1]) ** 2) ** 0.5