def remove_doubles(a_list):
    """ Simple naive not-efficient function to remove doubles in a list but keep the order!"""
    new_list = []
    for el in a_list:
        if el not in new_list:
            new_list.append(el)
    return new_list