Added a license and fixed typos.