def decimal_to_binary(n, l=None):
    """ Convert n from decimal to binary

        Args:
            n -- int -- the decimal value
    		l -- int -- the number of bits for the binary representation

        return the binary value of n
    """
    binary = bin(n)[2:]
    if l != None:
        binary = binary.zfill(l)
    return binary