Simulator of virtual memory with paging