Adding MIT license
I thought your code was pretty great, and like the optimistic guy I am, thought that you might be okay with providing it under the MIT license.
If so, here's a pull request!
Sounds good. It was more a design/programming exercise, if it gets used other places great!