Problem: Write a function called swap that takes in two integers by pointer and swaps their values.