Added the function to write the exposure data for each building

2 jobs for feature/classify_buildings in 2 minutes and 4 seconds (queued for 2 seconds)