Homework # 7

    From Foundations of Computer Science, by Aho & Ullman