A compiler challenge from the book Java: How to Program by Deitel and Deitel