Changed the deepcopy() method in affix_stack.repy to address the issue of having an empty stack.