Operating system course design - request paging algorithm