Cleanup in process table module

make time an int as opposed to an array of ints
used i for rounds worked in do_work_index
added damn semicolon to struct
passing pid_index instead of just index in  do work by pid