add non-functioning minimax method
add functional minimax