input: Write a python function to convert a binary string to a decimal number.
  assert binary_to_decimal('1101') == 13
  assert binary_to_decimal('1010') == 10
  assert binary_to_decimal('1111') == 15
output: def binary_to_decimal(binary_str):
      return int(binary_str, 2)