add some function

add indexOf, lastIndexOf ,reduceRight
好愚蠢的举动