Create a Python program to convert a binary string to its decimal equivalent.
def bin_to_dec(binary_string):
    decimal = 0
    for digit in binary_string:
        decimal = decimal * 2 + int(digit)
    return decimal

print(bin_to_dec('1100'))