Python: Removing Duplicates from a Sequence while Maintaining Order.