queue data structure realised by using linked list