implementation of a calculator using queues and stacks (in progress)