Write Algorithm For Push And Pop Operation