Add random method
Add random swap method