input: Write a python function to calculate the kinetic energy of a particle using its mass and velocity.
  assert calculate_kinetic_energy(Particle(2, 3, 300)) == 9.0
  assert calculate_kinetic_energy(Particle(1, 10, 150)) == 50.0
  assert calculate_kinetic_energy(Particle(0.5, 4, 200)) == 4.0
output: class Particle:
      def __init__(self, mass, velocity, distance):
          self.mass = mass
          self.velocity = velocity
          self.distance = distance
  
  def calculate_kinetic_energy(particle):
      return 0.5 * particle.mass * particle.velocity ** 2