Changes to chess program

because william asked me to