possible implementation of pointers in python