Stack Class update

Added comments