Prevented black playing to lose.
Error in alpha beta search should now be fixed.
Oh god whitespace. I don't know what to do.