def find_empty_location(grid):
    """
    Looks for the coordinates of the next zero value on the grid,
    starting on the upper left corner, from left to right and top to bottom.

    Keyword Arguments:
        grid {number matrix} -- The matrix to look for the coordinates on (default: {The instance's grid})

    Returns:
        tuple -- The (x, y) coordinates of the next zero value on the grid if one is found
    """
    for index, row in enumerate(grid):
        if 0 in row:
            return (row.index(0), index)