Added a license. Fixes #3, #2.