Complete swapping part. Lets work on paging.