Adds MIT license.

The lawyers say that we cannot use this code without a license that indicates the author's intent in publishing the code, so I have taken the liberty of supplying an MIT license and a copyright in your name.