Adds rules to ignore

I took this from @github `gitignore` repository.
Adds License

It is the MIT License took from the choosealicense.com