Djikstra's algorithm for expression evaluation using 2 stacks