Implementation of Stack And List