Adds method to NSArray to find index of compared string