Code examples for List#rotate, #union