some list functions

indexof, lastindexof, and join with a separator.