modify .gitignore
finish map and reduce functions