utility function to add to readyList. eventually this function will take care of process prioritization