<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def __find_star_in_col(self, col):
 """ Find the first starred element in the specified row. Returns the row index, or -1 if no starred element was found. """

        row = -1
        for i in range(self.n):
            if self.marked[i][col] == 1:
                row = i
                break

        return row