def address_to_vec(addr):
    """
    Convert an address into a list of numbers.
    """

    # Strip of first and last char, then create list of nums.
    # -2 to also ignore trailing dash.
    numbers = addr[1:-2].split('-')
    v = []
    for e in numbers:
        v.append(int(e))
    return v