Exmaple of Pointer to swap two values using function