Adding a function to for making pointers out of int values