write ruby program that programmatically moves the wolf, goat and salad to the opposite side of the river