Added few test code, and how to make the pairs for input file.