Suggesting addition of MIT License

It would be handy to know under what terms this code can be used.
I'm suggesting an MIT license and including it as a PR to make it easy. Please accept if possible.