queue implementation added
refined print statements, added numProcesses variable