input: Write a python function to implement the given algorithm.
  assert algorithm(2, 3) == expected_output_1
  assert algorithm(5, 5) == expected_output_2
  assert algorithm(7, 8) == expected_output_3
output: def algorithm(a, b):
      return a * b