Simple queue in C++.