Algorithm For Pop Operation In Stack