starting implementing the stack