Algorithm For Stack Using Array Implementation Of Stacks