Some functions that operate on python lists.