Added schedule function to the scheduler class - This function adds the process id to the process state table with a state for that process. Process can be in wait or active state.