Simple C++ generic queue. Written for use with Arduino systems. Requires malloc or equivalent.