Algorithm For Stack Implementation In Linked