Add pointers
Update index for pointers
Fix missing decrement in reverse example