Here's an interesting refactoring challenge.
Refactor the tangle.c program described at http://axiom-developer.org/axiom-website/litprog.html with the goal of making it more readable and maintainable.
Some suggested guidelines and constraints. Of course, you can do