Added a function in Utilities
to help debug minimax