hw12: stacks