Added license to .cpp