Homework # 6

    From Foundations of Computer Science, by Aho & Ullman