def instantantiate_map(obstacles):
    """ Takes the positions of the obstacles and returns a new map. A
    free position is denoted with a 0, an obstacle is denoted with 1
    """
    new_map = []
    for i in range(0, 100):
        if i in obstacles:
            new_map.append(1)
        else:
            new_map.append(0)
    return new_map