Create similar-pair.cpp