Adding license

Forgot to add license. Is now included. This is only a mistake, the
previous versions of this code were still meant to be under GPLv3.