Add explicit MIT license to the script.

This was allowed by David Eppstein in a discussion at his blog:

    http://11011110.livejournal.com/201066.html?thread=694890#t694890