updated license to apache

updated license to apache, since some examples are using it.