Added MIT license to the project root and source file headers.

There are a ton of different ways to add licenses to a project. For MIT, it's best to include it in the header of each file. However, it's common practice to add a LICENSE file to the root of a project to show intent (in case the header is accidentally omitted from a file), so I did that too.