Add newline after printing reduction steps
Update example to reflect latest changes to the code