added approximate matching code, and some test data