A chess program for teaching activities of artificial intelligence