Algorithm For Push And Pop Operation In Queue