Began writing minimax implementation, not tested yet