Adds license file.

Using the MIT license as I don't particularly care what anyone else does
with this code.