My implemented stack is popping one more character than the stl stack.