Added licence

Fixes issue#3