line 74-78: in this part, we call the def we created
line 5-10: initializing the class
def chess_board_filler: it fills the board for the first time
def printer: it prints out the board
def sa: the main part of the project. while temp > 0 all the codes execute.
line 23-36: first we make an empty array. we get two random numners, and then try to fill this new array.
line 37-39: we calculate delta and the probability
line 41-54: self-explanatory
line 64-70: we count the number of threats in the given state