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

def compute_coordinate(self, index):
        '''Compute two-dimension coordinate from one-dimension list'''
        j = index%self.board_size
        i = (index - j) // self.board_size
        return (i, j)