Implement list.index()