'Find the first prime element in the specified row. Returns
the column index, or -1 if no starred element was found.'

def _find_prime_in_row(self, row):

    col = np.argmax((self.marked[row] == 2))
    if (self.marked[(row, col)] != 2):
        col = (-1)
    return col
