Explain how pagination and address translation work