Exercise solution:
Dynamic allocation of persons and addresses