The first boys from a groups trapped in a flooded cave for more than two weeks have emerged from underground.