single linked list stack and queue