def neighbour_coordinates(grid, point_coords):
    """Returns list of coordinates for neighbours of the given point,
    within the bounds of the grid"""
    grid_width = len(grid[0])
    grid_height = len(grid)
    point_row, point_col = point_coords
    neighbour_coords = [
        (point_row, point_col - 1),
        (point_row, point_col + 1),
        (point_row - 1, point_col),
        (point_row + 1, point_col),
    ]
    in_grid_neighbours = [
        (row_n, col_n)
        for row_n, col_n in neighbour_coords
        if row_n >= 0 and row_n < grid_height and col_n >= 0 and col_n < grid_width
    ]
    return in_grid_neighbours