shuffle function

Random rotation of trees