add sumofnum.c and chess.c