Add license to code and added license to Readme.md as well