def create_board(board_lst):
    board_array = []
    for item in board_lst:
        board = [x for x in item.split(' ') if (x.strip() != '')]
        board_array.append(board)
    board_array = np.array(board_array)
    board_array = board_array.astype(float)
    return board_array
def create_board(board_lst):
    board_array = []
    for item in board_lst:
        board = [x for x in item.split(' ') if (x.strip() != )]
        board_array.append(board)
    board_array = np.array(board_array)
    board_array = board_array.astype(float)
    return board_array