Update curl.php

Creates a nested array with separate arrays that include the name and address of each location.