defined add, mult, exp using foldi
all about monads, section 5 exercises
ignore .hi and .o files