A stack implementation using linked list