improved Cmake file ; added InpaintingAlgo class.