Debugging practice with a pretty awfully-written program.