New function of Pair tuple.
Merge pull request #15 from tetra24/future/pair

merge.