Add license to cpp file