A linked list queue module in C++