Access Array Elements Using Pointers In Python