Actually you misplaced the comparison operator with the assignment operator.
if ( found_match ==0 ) like wise you need to test the condition instead of if ( found_match =0 )