Implementation of Stack
Polynomials fn added