Added a license

Closes issue #3