input: Write a function to convert a given integer to its binary representation as a string.
  assert toBinary(7) == '111'
  assert toBinary(10) == '1010'
  assert toBinary(0) == '0'
output: def toBinary(n):
      return bin(n)[2:]