Added imot2 cpp program.