add chamfer matching sample source to cpp sample