Code for vacant lots problem analysis