updated license in cpp files