A dog herds sheep into a pen as a shepherd looks on