made a basic stack class