added code for run_queue, rearranged code in proc.c ~in progress