fixed line endings and added a .gitattributes file
add the file .gitattributes
Merge pull request #17 from yushan87/master

normalized line endings