Find Element Index In Array Python Memory