Added Functional Files assignment
Fixed TODO in map function and other minor adjustments
Formatted output of map function in writing to file
Fixed output of list comprehension version to .writelines
Merge pull request #107 from rivese/functionalFiles

Functional files