Added approximate match detect to sim_substrings.pl