First proper stab at Exercise 1-22 - fold lines

Working code (as far as I can tell!), could probably do with refactoring
or at least some clean-up.  Will do some more testing and have a think
if I get time.