input: Write a python function to classify numbers in a list as even or odd.
  assert algorithm([1, 2, 3, 4, 5, 6, 7, 8, 9, 10]) == ['1 is an odd number', '2 is an even number', '3 is an odd number', '4 is an even number', '5 is an odd number', '6 is an even number', '7 is an odd number', '8 is an even number', '9 is an odd number', '10 is an even number']
  assert algorithm([10, 15, 20, 25, 30]) == ['10 is an even number', '15 is an odd number', '20 is an even number', '25 is an odd number', '30 is an even number']
  assert algorithm([7, 14, 21, 28, 35]) == ['7 is an odd number', '14 is an even number', '21 is an odd number', '28 is an even number', '35 is an odd number']
output: def algorithm(numbers):
      result = []
      for number in numbers:
          if number % 2 == 0:
              result.append(f'{number} is an even number')
          else:
              result.append(f'{number} is an odd number')
      return result