Simplified the output funciton for the wolf-goat-cabbage puzzle