terrible, but working
week 2
simple foldLeft and currying examples