<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def balance(self):

 """Adds corresponding empty attributes or null geometry records depending
 on which type of record was created to make sure all three files
 are in synch."""

        while self.recNum > self.shpNum:
            self.null()
        while self.recNum < self.shpNum:
            self.record()