Algorithm For Stack Push And Pop Operation