stack implementation using linked list
Program to reverse a linked list