problem 18.lhs
readme