5.2 Main Memory (c) Example 2 solution - si-manual