Finished the minimax algorithm and changed much of the determinants for win functionality, most of the credit goes to the great community surrounding how to implement a minimax algorithm