Got Minimax working. Need to remove some dead code and change some thing around still.