Create totalNQueue.cpp