def buildBoard(x, y):  # function that creates a board with 1 values and returns it
    """
    :param x - horizontal length
    :param y - vertical length
    :return: created board
    """
    board = []
    for i in range(x):
        board_row = []
        for j in range(y):
            board_row.append(1)
        board.append(board_row)
    return board