Minimax algorithm solves all boards (with a little help ;) )