updated gitignore to omit netbeans and mac os files.