Added swap_vars()
Function to swap the value of two variables