Added header with license

And changed spaces to tabs - sorry.