added function to output geocoded addresses
cleaned up code to a working version