def load_board_state(location):
    board = []
    x = []
    with open(location, 'r') as f:
        for line in f:
            for ch in line:
                if (ch == '\n'):
                    continue
                x.append(int(ch))
            board.append(x)
            x = []
    return board
def load_board_state(location):
    board = []
    x = []
    with open(location, 'r') as f:
        for line in f:
            for ch in line:
                if (ch == '\n'):
                    continue
                x.append(int(ch))
            board.append(x)
            x = []
    return board