SplitIntoPairs.cpp