Implements list.index. Fixes issue #57.