added paging and uncommented the random scheduler.