Fix issue for boards updating incorrectly
Clean up minimax and indentation

Inifinite loops at depth above 3 for some reason.