Finished babynames.py assignment

Finished assignment for babynames.py and started adding an option to
write to csv as well as .txt.