Simulator added(not tested)

The simulator function is added. The algorithm is needed to produce the input read_list before calling this function. Also, at line 149, the algorithm should apply before moving a process back to the ready list.