added new sample data in bracket, and heuristic functions for pair matching