Cursor Pointer Using Arrays In Python