def remove_key(wires_dict, key='G'):
    """
    This removes a key:value pair of the dict without 
    altering the original dictionary
    """
    temp_dict = dict(wires_dict)
    del temp_dict[key]
    return temp_dict