Adding inpainting source code