How To Find Index Of An Element In Array