Added the MIT licence to the main.m file and README.md