added Pointer small code snippets.