Kindly add swap function
Kindly add swap function