Implementation of a Minimax player