The meat of the program starts at line 51. When I test the output, it looks like it is doing the right thing. This one is twisting my brain. Any hits will be appreciated.