Create algorithmic_diff_r2.cpp