added class Stack