Added stack. Formatted stack and vector.