Improved debug output

- Better indentation for sub-reduction
- Display final result of each reduction

Part of #4