adding code for implementation of Queue.cc, tests do not pass fully yet