Add licence. Fixes #2.