add Indexof method to search first only element

add Indexof method to search first only element