Add standard MIT License.
Fix comments and whitespace.
Add makefile; update readme and gitignore.
Convert CRLF to LF.