Added license.

This license applies to all code except otherwise noted.