def getRow(array, index):
    """
    Returns the row of the given 2D array at the selected index
    """
    column = []
    for i in range(0,9):
        column.append(array[index][i])
    return column