Working with the ArcPy list functions