Finished dlx in c++.