Fixed NodeQueue header file and implemented NodeQueue