def print_map(map_grid):
    print(('= ' * (len(map_grid) + 2)))
    for row in map_grid:
        print('||', end='')
        print(*row, sep=' ', end='')
        print('||')
    print(('= ' * (len(map_grid) + 2)))
def print_map(map_grid):
    print(('= ' * (len(map_grid) + 2)))
    for row in map_grid:
        print('||', end=)
        print(*row, sep=' ', end=)
        print('||')
    print(('= ' * (len(map_grid) + 2)))