adding license to cpp files