generalized regional property comparison code so it could be used for both tax lots and multi-family units and changed variables names in first function to be generalized instead of taxlot specific