def dic2array(dic):
    """Turn a dictionary into a numpy array

    Parameters
    ==========
    dic (dictionary)
        a dictionary of form {0: (num1, num2), 1: (num3, num4)}

    Returns
    =======
    a numpy array of form [(num1, num2), (num3, num4)]
    """
    output_array = []
    for val in dic:
        output_array.append(dic[val])
    return output_array
