CHESS: implement chess, code compiles, needs to be integrated