input: Write a python function to classify data using a given model.
  assert classify_data([1, 2, 3], MockModel()) == [0, 1, 0]
  assert classify_data([4, 5, 6], MockModel()) == [1, 0, 1]
  assert classify_data([7, 8, 9], MockModel()) == [0, 1, 1]
output: def classify_data(data, model):
      return [model.predict(x) for x in data]
  
  class MockModel:
      def predict(self, x):
          return x % 2