Adding license headers to source files

Adding the MIT license header (found in 'HEADER.txt') to all of the
source code files in the repo.