changed method output in set.py
updated .gitignore
added defaultdict.py