Simple stack implemented using linked-list