Added map, foldr, list library functions
Cleaned up TODO items