Simple Queue in C++