Added BSD License

Added BSD License to the project.
Modified .gitignore to ignore emacs temp files.