Documented new array swap options; added example code to array examples