A farmer, a goat, a wolf, and a cabbage have to cross a river. A boat
nearby only has enough room for the farmer and one other thing. What
is the fewest number of trips he must take so that the goat does not
eat the cabbage, and so the wolf does not eat the goat?