Adding flags to master to give flexibility to choose between C++ and Java for every...