A farmer's goat kept getting his head stuck in a fence. Here's his solution