def acquire(filename):
    """Return a grid of integers by parsing a file."""
    grid = []
    with open(filename) as f:
        for line in f:
            grid.append([int(x) for x in line.split()])
    return grid