<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def compare_names(first, second):
 """ Compare two names in complicated, but more error prone way. Algorithm is using vector comparison. Example: 100.0 50.0 Args: first (str):
 Fisst name as string. second (str):
 Second name as string. Returns: float: Percentage of the similarity. """

    first = name_to_vector(first)
    second = name_to_vector(second)

    zipped = zip(first, second)

    if not zipped:
        return 0

    similarity_factor = 0
    for fitem, _ in zipped:
        if fitem in second:
            similarity_factor += 1

    return (float(similarity_factor) / len(zipped)) * 100